
public class Session {

	private static int nextId = 0;
	private int id;
	private User user;
	private String userPosition;
	public Session(User user, String userPosition) {
		this.user = user;
		this.userPosition = userPosition;
		nextId++;
		id = nextId;
	}

	public User getUser() { return user; }
	public String getUserPosition() { return userPosition; }
	public int getId() { return id; }
}
